<!DOCTYPE html>
<script>
if (window.testRunner)
  testRunner.dumpAsText();
</script>

<style>
  ul.menu li:first-letter { color: green; }
</style>

<p>Test passes if it does not CRASH with --run-web-tests.</p>
<div contenteditable>
  <ul class="menu">
    <li>Appetizers</li>
  </ul>
</div>

<script>
print("TEST");

var iframe = document.createElement('iframe');
iframe.src = window.location;
document.body.appendChild(iframe);

if (window.parent !== window)
  window.parent.document.querySelector('iframe').remove()
</script>
